function randomNum(minNum, maxNum) {
    switch (arguments.length) {
        case 1:
            return parseInt((Math.random() * minNum + 1) + '', 10);
        case 2:
            return parseInt((Math.random() * (maxNum - minNum + 1) + minNum) + '', 10);
        default:
            return 0;
    }
}
class Colors {
}
Colors.White = '#ffffff';
Colors.Black = '#000000';
Colors.Red = '#f00';
Colors.Danger = Colors.Red;
Colors.Separate = '#E0E0E0';
Colors.SubTitle = '#999999';
Colors.Brief = '#666666';
Colors.Title = '#333333';
Colors.Active = '#DAC228';
Colors.UnAvailable = '#ededed';
Colors.Disabled = '#999';
Colors.CanNotPick = '#FF83FA';
Colors.Primary = '#232728';
Colors.Background = '#f5f4f4';
Colors.Clear = 'transparent';
Colors.Border = '#AEADAD';
Colors.DarkGray = '#454545';
Colors.RandomColor = (alpha = false) => {
    if (alpha) {
        return `rgba(${randomNum(0, 255)},${randomNum(0, 255)},${randomNum(0, 255)},${Math.random()})`;
    }
    return `rgb(${randomNum(0, 255)},${randomNum(0, 255)},${randomNum(0, 255)})`;
};
export default Colors;
